home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc2_x / tcprogud.sit / TC Prog Guide / card_32050.txt < prev    next >
Text File  |  1991-02-27  |  1KB  |  36 lines

  1. -- card: 32050 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 4755
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 4
  9. ----- text -----
  10. maintenance, this allows the compiler to enforce type checking of the arguments, reducing type-conversion bugs.
  11.  
  12. The default file scope for function identifiers can be restricted with the 'static' specifier*, which disallows access from source files other from the one in which the function is defined.
  13.  
  14. Functions cannot have block scope, but TC and C++ functions can have class scope          (Chapter 4).  This limits the function's scope to that of the body of data with which it is associated, which itself may be block scope, and to the bodies of other functions of the same class.
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22. -- part contents for background part 7
  23. ----- text -----
  24. 95
  25.  
  26. -- part contents for background part 29
  27. ----- text -----
  28. 28872
  29.  
  30. -- part contents for background part 27
  31. ----- text -----
  32. Scope restriction with 'static'
  33.  
  34. -- part contents for background part 20
  35. ----- text -----
  36. Scope restriction with 'static' - p79